package zwp.exercise.service.exercisedemo.chapterFour;

/**
 * @Author zwp14
 * @create 2025/11/11 21:57
 * @description 9*9乘法口诀表
 */
public class Multiplication {
    public static void main(String[] args) {
        // 限制i最大为9
        for (int i = 1; i < 10; i++) {
            // j被i限制，也就是说j最大也为9
            for (int j = 1; j <= i; j++) {
                System.out.print(j + "*" + i + "=" + i*j + "\t");
            }
            System.out.println();
        }
    }
}
